/**
 * @FileName Decorator.java
 * @Package com.designMode.decorate
 * -------------------------------------
 * @function Please write description of function
 * @Date 2016-1-5 上午10:49:46
 * -------------------------------------
 * Copyright (c) 2016,顾博君 All Rights Reserved.
 */
package com.designMode.decorate;

/**
 * @ClassName Decorator
 * @author 顾博君
 * @Date 2016-1-5 上午10:49:46
 * @Function 抽象装饰者
 */

public abstract class Decorator extends Component {
	private Component component = null;

	public Decorator(Component _component) {
		this.component = _component;
	}

	@Override
	public void operate() {
		this.component.operate();
	}
}
